#ifndef _CONTROL_PREF_H
#define _CONTROL_PREF_H


#include "../Icon/mysql_mac.xpm"
#include "../Icon/mysql.xpm"
#include "../Icon/reconnect.xpm"
#include "../Icon/run_text.xpm"
#include "../Icon/new.xpm"
#include "../Icon/open.xpm"
#include "../Icon/save.xpm"
#include "../Icon/run.xpm"
#include "../Icon/run_line.xpm"
#include "../Icon/topBar.xpm"
#include "../Icon/stop.xpm"
//#include "../BLL/bll.h"

	
enum UI_ID{
	ID_TREECTRL,
	ID_STATUSBAR,
	ID_EDIT_NOTEBOOK
};

enum TaskBarIconContextMenuID{
	ID_TBI_Show=15000,
	ID_TBI_Hide,
	ID_TBI_About,
	ID_TBI_Close
};

enum TOOLBAR_ID{
	ID_TOOLBAR_ID_START=10100,
	ID_TOOLBAR,
	ID_TB_NEW,
	ID_TB_OPEN,
	ID_TB_SAVE,
	ID_TB_NEW_CONNECT,
	ID_TB_RUN,
	ID_TB_RUN_TEXT,
	ID_TB_RUN_LINE,
	ID_TB_STOP,
	ID_TB_FONT_ENCODING,
	ID_TB_CURRENT_DB,
	ID_TOOLBAR_ID_END
};

enum DB_CONTEXT_MENU{
	DB_CONTEXT_MENU_START=14000,
	DB_DEL,
	DB_REFRESH,
	DB_PROPERTY,
	TABLE_PREVIEW,
	TABLE_SHOW_CREATE,
	TABLE_SHOW_DESC,
	TABLE_SHOW_INDEX,
	TABLE_PROPERTY,
	SERVER_RECONNECT,
	SERVER_NEW_CONNECT,
	SERVER_CLOSE,
	SERVER_REFRESH,
	DB_CONTEXT_MENU_END
};
enum MUNUITEM_ID{
	ID_MENUITEM_START=9000,
	ID_MENUITEM_FILE_EXIT,
	ID_MENUITEM_FILE_NEW,
	ID_MENUITEM_FILE_OPEN,
	ID_MENUITEM_FILE_SAVE,
	ID_MENUITEM_VIEW_LOG,
	ID_MENUITEM_VIEW_DB,
	ID_MENUITEM_VIEW_AUTOCOMP,
	ID_MENUITEM_HELP_ABOUT,
	ID_MENUITEM_BUILD_RUN_ALL,
	ID_MENUITEM_BUILD_RUN_SELECTED,
	ID_MENUITEM_BUILD_RUN_LINE,
	ID_MENUITEM_BUILD_RUN_TEXT,
	ID_MENUITEM_FILE_NEW_CONNECTION,
	ID_MENUITEM_TOOLS_EXPORT,
	ID_MENUITEM_END
};
#endif